package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.entity.SysData;
import com.aiti.lulian.vo.SysDataVo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author ZhouS
 * @CreateDate 2022-06-11
 * @Description:
 */
@Repository
public interface SysDataMapper extends SuperMapper<SysData> {

    List<SysData> findListPage(Page page , @Param("sysData")SysData sysData);

    SysData byId(String baseId);

    SysData byTypeNo(String typeNo);

    List<SysData> getSorts();

    List<SysData> likeDictName(String baseName);

    List<SysDataVo> getScondSort();

    List<String> selectBaseNames(@Param("moduleIds") List<String> moduleIds);
}
